#pragma once


#include "resource.h"
#include "SaticFromBmp.h"


class CVerifyDialog : public CDialog
{
public:
	CVerifyDialog(CWnd* pParent = NULL);  
	virtual ~CVerifyDialog();

	enum { IDD = IDD_VERIFY_DIALOG };
	enum { VERIFY_TIME_ID = 10110 };
	enum { CLOSE_TIME = 30 };

	void SetVioPicPath(CString vioPicPath);

protected:
	virtual void DoDataExchange(CDataExchange* pDX); 
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnClose();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnStnClickedWholePic();
	afx_msg void OnBnClickedCloseButton();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	
	DECLARE_MESSAGE_MAP()

protected:
	static BOOL    m_init_state;
	int            m_close_time;
	CSaticFromBmp  m_mouse_static;
	CSaticFromBmp  m_whole_static;
	HBITMAP        m_whole_bmp;
	CString        m_vio_picpath;
};
